Release 10.1A: OpenEdge Development:
Programming Interfaces
Directing output to a printer
To direct output to your default printer, use the
OUTPUTTOstatement with thePRINTERoption. Remember to use theSTREAM-IOoption in your frame phrases.STREAM-IOremoves all graphical characteristics of the widgets, leaving just the textual data.You probably also want to use the
PAGEDoption of theOUTPUTTOstatement to create neat page breaks.Try modifying
i-10-09.pto send the report to a printer, if you have one available. Alternately, add thePAGEDoption to theOUTPUTTOstatement, run the report, and opentut-temp.txtin the Procedure Editor.Notice that Progress redisplays the labels for the current frame after a page break.
To direct output to a printer other than the default printer, use the Printer (-o) startup parameter to designate a specified printer for the OpenEdge session. For more information, see the reference entry for the Printer (-o) startup parameter in the OpenEdge Deployment: Startup Command and Parameter Reference .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |